projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
346e135
)
(x_list_fonts): Fix previous change.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 8 Aug 1998 02:39:50 +0000
(
02:39
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 8 Aug 1998 02:39:50 +0000
(
02:39
+0000)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 5ae37327d7ff0797e9b0eab03f54668758dd142a..18a6619abba37e138cb34d893e05984ea416b422 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-6497,7
+6497,9
@@
x_list_fonts (f, pattern, size, maxnames)
}
else
try_XLoadQueryFont = 0;
- XFreeFont (font);
+
+ if (font)
+ XFreeFont (dpy, font);
}
if (!try_XLoadQueryFont)